package org.llc.authorization.mapper;

import org.llc.authorization.dto.ClientsDTO;
import org.llc.authorization.model.Clients;
import org.springframework.stereotype.Repository;

/**
 * 认证客户端Mapper
 *
 * @author llc
 * @date 2018/4/2 19:50
 * @since 1.0.0
 */
@Repository
public interface ClientsMapper {

    /**
     * 查询客户端根据客户端ID
     * @param clientId 客户端ID
     * @return org.llc.authorization.model.Clients
     * @author llc
     * @date 2020/1/21 16:15
     */
    Clients selectById(String clientId);

    /**
     * 新增客户端
     * @param clientsDto 内容
     * @return int
     * @author llc
     * @date 2020/1/21 16:15
     */
    int insert(ClientsDTO clientsDto);
}
